//this class bridge GToyTimer implement
//andycai_sc 2012-03-09

#ifndef GTOYTIMERIMPL_H
#define GTOYTIMERIMPL_H	

#include "GParallel/GTimerImpl.h"
#include "GToy/Timer.h"

class GToyTimerImpl : public GTimerImpl, protected GToy::Timer
{
public:
	GToyTimerImpl(GTimer* timer);
	~GToyTimerImpl();

	void beginImpl(long millisc);

	void cancelImpl();

private:
	void schedule();
};

#endif
